calculate positional tolerance